From: Florian Müllner Date: Wed, 1 Feb 2023 14:24:09 +0000 (+0100) Subject: st/icon-theme: Replace GTK's custom i18n support X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~405^2^2~108 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=bdd14e34317fb46e19d2505cfbbaa3cb9891e067;p=gnome-shell.git st/icon-theme: Replace GTK's custom i18n support GTK uses its own private i18n header, which most notably defines an I_() macro for interning static strings. That may be a worthwhile idea for the entire codebase, but as it's out of scope for this change set, just use the standard i18n support from glib for now. Part-of: --- diff --git a/src/st/st-icon-theme.c b/src/st/st-icon-theme.c index bd23f603f..fa96c1088 100644 --- a/src/st/st-icon-theme.c +++ b/src/st/st-icon-theme.c @@ -25,11 +25,11 @@ #include #include #include +#include #include "st-icon-theme.h" #include "st-icon-cache.h" #include "st-settings.h" -#include "gtkintl.h" #define DEFAULT_ICON_THEME "Adwaita" @@ -346,7 +346,7 @@ gtk_icon_theme_class_init (GtkIconThemeClass *klass) * that a change has occurred in the contents of the current * icon theme. */ - signal_changed = g_signal_new (I_("changed"), + signal_changed = g_signal_new ("changed", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (GtkIconThemeClass, changed),